package io.renren.sf.service.impl;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.sf.dao.TeacherDao;
import io.renren.sf.entity.TeacherEntity;
import io.renren.sf.service.TeacherService;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service("teacherService")
public class TeacherServiceImpl extends ServiceImpl<TeacherDao, TeacherEntity> implements TeacherService {


    @Override
    public void updateStatus() {
        baseMapper.updateStatus();
    }

    @Override
    public void removeTeacherRoleByTid(List<Long> teacherIds) {
        baseMapper.removeTeacherRoleByTid(teacherIds);
    }
}